package configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component(value = "hello")
public class HelloWorldConfiguration {

    @Bean(name = "helloWorld")
    public String helloworld() {
        return "Hello World, 2018";
    }
}
